package commands.nc;

import java.util.List;
import java.util.Map;

import dataTypes.File;

public class NCResult extends NetworkControllerCommand
{
	private Map<File, Float> fileMap;
	private int id;
	
	public NCResult(Map<File, Float> fileMap,int id)
	{
		super(NetworkControllerCommandType.RESULT);
		this.fileMap = fileMap;
		this.id = id;
	}

	/**
	 * @deprecated Use getFileMap instead
	 * @return null
	 */
	public List<File> getFileList()
	{
		return null;
	}

	public Map<File, Float> getFileMap()
	{
		return fileMap;
	}

	public int getId()
	{
		return id;
	}

}
